<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>首页</title>
		<link rel="stylesheet" type="text/css" href="public/home/css/bootstrap.min.css"/>
		<link rel="stylesheet" type="text/css" href="public/home/css/index.css"/>
		<script src="public/home/js/jquery-2.1.1.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="public/home/js/osSlider.js" type="text/javascript" charset="utf-8"></script>
		
	</head>
	<body>
		<!--顶部-->
		<div id="top">
			<div class="box">
				<p class="t_l"><a href="#">时尚商城</a></p>
				<p class="t_lse"><a href="#">首尔站</a></p>
				<ul class="t_r">
					<if value="$_SESSION['id']">
						<li>您好！用户ID为：<a class="col">{{$_SESSION['id']}}</a>  的会员欢迎回来。  <a href="#">退出 </a> </li>
						<else>
					<li><a class="col" href="index.php?s=home/login/login">登录</a></li>
					<li><a class="col" href="index.php?s=home/login/reg">注册</a></li>
					</if>
					<li>|</li>
					<li class="cur">
						<a href="index.php?s=home/user/user" class="t"><i></i>我的优购</a>
						<!--<div class="on">
							<a href="">我的收藏</a>
						</div>-->
					</li>
					<li><a href="index.php?s=home/user/user">我的订单</a></li>
					<li class="cur">
						
						<a class="t" href="#"><i></i>公告</a>
						
						<div class="notice_con on">
              				<a target="_blank" href="">运动秋季新品直降</a>
              				<a target="_blank" href="">分享购官方微信</a>
              				<a target="_blank" href="">分享购QQ群111111</a>
              				<a target="_blank" href="">关于跨境商品征税新政策调整</a>
              				<a target="_blank" href="">提醒会员谨防诈骗电话</a>
          				</div>
						
					</li>
					<li class="cur">
						<a class="t" href="#"><i></i>更多</a>
						<div class="on">
							<a href="">收藏本站</a>
							<a href="">帮助中心</a>
						</div>
					</li>
				</ul>
			</div>
		</div>
		<!--顶部结束-->
		<!--banner-->
		<div id="banner">
			<div class="ban_t">
				<div class="logo"><img src="public/home/img/logo.png"/></div>
				<div class="seach">
					<input type="text" name="seach" id="seach" value="" />
					<input type="button" id="but" value="" />
					<ul class="sea_rt">
						<li><a href="#">热销</a></li><span>|</span>
						<li><a href="#">热销</a></li><span>|</span>
						<li><a href="#">热销</a></li><span>|</span>
						<li><a href="#">热销</a></li><span>|</span>
						<li><a href="#">热销</a></li><span>|</span>
						<li><a href="#">热销</a></li><span>|</span>
						<li><a href="#">热销</a></li><span>|</span>
						<li><a href="#">热销</a></li><span>|</span>
						<li><a href="#">热销</a></li>
					</ul>
				</div>
				<div class="shop">
					<div class="shop_gw">
						<div class="shop_lt">
						<i class="shop_img"></i>
						<p>购物车(<span id="shopnum">{{$shopnum}}</span>)件</p>
						<i class="san"></i>
						</div>
						<div class="shop_lb">
							<div id="shoppingcartContainer">
<!--我的购物车 start-->
<div class="mycart_pop abs">
   
        <ul class="mycart_pro_list">


        </ul>
    
    <div class="ft rel">
        <a target="_blank" href="" class="go_js fr">去购物车结算</a>
	    <span>
	    	共 <em id="num" class="corg">{{$shopnum}}</em> 件商品
	    </span>
    </div>
</div></div>
						</div>
					</div>
					<p class="shop_p">百丽国际旗下购物网站</p>
				</div>
			</div>
			<div class="ban_b">
				<h2></h2>
				<div class="nav_l">
					<ul>
						<foreach from='$dhData' key='$k' value='$v'>
						<li>
							<a href="{{U('shoplist/index',array('cid'=>$v['cid']))}}">{{$v['cname']}}</a>
						</li>
						</foreach>
					</ul>
				</div>
				<div class="nav_r">
					<ul>
						<li><a class="col" href="#">分享购</a></li>
						<li><a href="#">秒杀</a></li>
						<li><a href="#">聚优购</a></li>
					</ul>
				</div>
			</div>
		</div>	
	
		<!--banner结束-->
		<!--二级导航轮播-->
		<div id="nav_lb">
			<div class="nav_l">
				<ul>
					<foreach from='$navData' key='$k' value='$v'>
					<li class="">
						<h3 class="title"><i class="s{{$k+1}}"></i>{{$v[cname]}}</h3>
						<p>
							<list from="$v['two']" name='$d' row='3' start='0' empty='没有数据'>
							<a href="{{U('shoplist/index',array('cid'=>$d['cid']))}}">{{$d['cname']}}</a>
							</list>
						</p>
						<div class="popmenu2">
							<foreach from="$v['two']" key='$k' value='$v' row='4'>
	                          <if value='$k lt 4'>
	                          	<div class="categoryy">
	                              	<h3 class="tit"><a href="{{U('shoplist/index',array('cid'=>$v['cid']))}}" target="_blank">{{$v['cname']}}</a></h3>
	                            <p class="categoryul">
								<list from="$v['thr']" name='$d' row='8' start='0' empty='没有数据'>
	                                <a href="{{U('shoplist/index',array('cid'=>$d['cid']))}}" target="_blank">{{$d['cname']}}</a>
								</list>
	                            </p>
	                         </div>	
	                          </if>
							</foreach> 
                    </div>
					</li>
					
					</foreach>
					
				</ul>
			</div>
	
	<div class="slider">
		<ul class="slider-main">
			<li>
				<img src="public/home/img/01.jpg" alt="">
			</li>
			<li>
				<img src="public/home/img/02.jpg" alt="">
			</li>
			<li>
				<img src="public/home/img/03.jpg" alt="">
			</li>
			<li>
				<img src="public/home/img/04.jpg" alt="">
			</li>
		</ul>
	</div>

		</div>
		<script type="text/javascript">
	var slider = new osSlider({ //开始创建效果
		pNode:'.slider', //容器的选择器 必填
		cNode:'.slider-main li', //轮播体的选择器 必填
		speed:3000, //速度 默认3000 可不填写
		autoPlay:true //是否自动播放 默认true 可不填写
	});
</script>
		<!--二级导航轮播结束-->
		<!--广告1-->
		<div class="ad"><img src="public/home/img/9a77.jpg"/></div>
		<!--广告1结束-->
		<!--热门品牌-->
		<div id="rmpp">
			<div class="box_t">
				<h2>热门品牌<span>HOT BRAND</span></h2>
				<a href="#"><span class="more_l">more ></span> </a>
			</div>
			<div class="box_b">
				<div class="b_t">
					<ul>
						<foreach from='$re1' key='$k' value='$v'>
						<li><a href="{{$v['allink']}}"><img src="{{$v[thumb]}}"/></a></li>
						</foreach>
					</ul>
				</div>
				<div class="b_b" id='b_b'>
					<a id='pleft' href=""></a>
					<div class="box">
					<ul>
						<li>
							<foreach from='$brandData' key='$k' value='$v'>
									<if value='$k lt 20'>
							<a href="#"><img src="{{$v['logo']}}"/></a>
							</if>
							</foreach>
						</li>
						
					</ul>
					</div>
					<a id='pright' href="javascript:;"></a>
				</div>
			</div>
	<script type="text/javascript">
	var slper = new onlk({ //开始创建效果
		Rper:'#pright', //左侧点击按钮选择器 必填
		Lper:'#pleft', //右侧点击按钮选择器 必填
		Cper:'#b_b li', //切换体的选择器 必填
		speed:3000, //速度 默认3000 可不填写
	});
</script>		
		</div>
		<!--热门品牌结束-->
		<!--运动馆-->
		<foreach from='$Data' key='$k' value='$v'>
		<div id="sport">
			<div class="box_t">
				<h2><a href="{{U('shoplist/index',array('cid'=>$v['cid']))}}">{{$v['cate']}}<span></span></a></h2>
				<a href="{{U('shoplist/index',array('cid'=>$v['cid']))}}"><span class="more_l">MORE >></span> </a>
			</div>
			<div class="box_b">
			<div class="sport_l">
				<img src="public/home/img/29fe.jpg"/>
				<ul>
					<foreach from="$v['brand']" key='$kk' value='$vv'>
					<li><a href="#"><img src="{{$vv['logo']}}" /></a></li>
					</foreach>
				</ul>
			</div>
    				
       
       		<div class="sport_c">
       			<list from="$v['shuju']" name='$n' start='1'>
    

					<a href="{{U('show/index',array('gid'=>$n['gid']))}}"><img src="{{$n['pic']}}" width="360" height="430"/></a>
</list>
					
			</div>

			<div class="sport_r">
				<?php $i=1;?>
				<foreach from="$v['shuju']" key='$kk' value='$vv'>
					<if value='$i<7'>
					<a href="{{U('show/index',array('gid'=>$vv['gid']))}}"><img src="{{$vv['pic']}}" width="186" height="214"/></a>
					</if>
					<?php $i++?>
</foreach>
			</div>
       		
       

				
				

		</div>
		</div>
		</foreach>
		<!--运动馆结束-->
		
		<!--特卖专区-->
		<!--<div id="tmzq">
			<div class="box_t">
				<h2>特卖专区 </h2>
			</div>
			<div class="box_b">
				<div class="b_l">
					<ul>
						<li><a href="#">户外馆</a><span>></span></li>
						<li><a href="#">户外馆</a><span>></span></li>
						<li><a href="#">户外馆</a><span>></span></li>
						<li><a href="#">户外馆</a><span>></span></li>
						<li><a href="#">户外馆</a><span>></span></li>
						<li><a href="#">户外馆</a><span>></span></li>
						<li><a href="#">户外馆</a><span>></span></li>
					</ul>
				</div>
				<div class="b_r">
					<ul>
						<li><a href="#"><img src="public/home/img/1004.jpg"/><p class="qg">限时抢￥259</p><p>Columbia/哥伦比亚男子秋冬长裤PM8835364</p></a><span>¥259<i>¥499</i></span></li>
						<li><a href="#"><img src="public/home/img/1004.jpg"/><p class="qg">限时抢￥259</p><p>Columbia/哥伦比亚男子秋冬长裤PM8835364</p></a><span>¥259<i>¥499</i></span></li>
						<li><a href="#"><img src="public/home/img/1004.jpg"/><p class="qg">限时抢￥259</p><p>Columbia/哥伦比亚男子秋冬长裤PM8835364</p></a><span>¥259<i>¥499</i></span></li>
						<li><a href="#"><img src="public/home/img/1004.jpg"/><p class="qg">限时抢￥259</p><p>Columbia/哥伦比亚男子秋冬长裤PM8835364</p></a><span>¥259<i>¥499</i></span></li>
						
					</ul>
				</div>
			</div>
		</div>-->
		<!--特卖专区结束-->
		<!--优购导购-->
		<div id="ygdg">
			<div class="box_t">
				<h2>优购导购 </h2>
			</div>
			<div class="box_c">
				<a id='cleft' href="#"></a>
				<ul>
					<foreach from='$brandData' key='$k' value='$v'>
					<li style="text-align: center;"><a href="#" ><img src="{{$v['logo']}}" alt="{{$v['bname']}}" width="85" height="40"/>{{$v['bname']}}</a></li>
					</foreach>
				</ul>
				<a id='cright'href="#"></a>
			</div>
			<!--<div class="box_b">
				<div class="b_l_lb">
					<h3><a href="#">时尚运动</a></h3>
					<ul>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
					</ul>
					<span><a href="#">更多>></a></span>
				</div>
				<div class="b_l_lb">
					<h3><a href="#">时尚运动</a></h3>
					<ul>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
					</ul>
					<span><a href="#">更多>></a></span>
				</div>
				<div class="b_l_lb">
					<h3><a href="#">时尚运动</a></h3>
					<ul>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
					</ul>
					<span><a href="#">更多>></a></span>
				</div>
				<div class="b_l_lb">
					<h3><a href="#">时尚运动</a></h3>
					<ul>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
						<li><a href="#">跑步鞋</a></li>
					</ul>
					<span><a href="#">更多>></a></span>
				</div>
			</div>-->
		</div>
		<!--优购导购结束-->
		<!--底部-->
		<div id="foot">
			<div class="box">
				<img src="public/home/img/endlogo.gif"/>
				<div class="box_r">
					<ul>
						<li><a href="#">关于优购</a></li>
						<li><a href="#">品牌招商</a></li>
						<li><a href="#">集团采购</a></li>
						<li><a href="#">招贤纳士</a></li>
						<li><a href="#">手机优购</a></li>
						<li><a href="#">联系我们</a></li>
						<li><a href="#">品牌大全</a></li>
						<li><a href="#">网站地图</a></li>
						<li><a href="#">销售排行</a></li>
						<li><a href="#">优购资讯</a></li>
						<li style="border: none;"><a href="#">关于优购</a></li>
					</ul>
					<p>Copyright © 2011-2016 Yougou Technology</p>
				</div>
			</div>
		</div>
		<!--底部结束-->
		
	</body>
</html>
